// $Id: Attachment.java 44 2011-10-06 18:38:20Z huijzer@gmail.com $
package lime.model;

public class Attachment implements Comparable<Attachment> {

	private String id;
	private String name;
	private String type;
	
	public Attachment(String id, String name, String type) {
		this.id = id;
		this.name = name;
		this.type = type;
	}
	
	public String getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}
	
	public String getType() {
		return type;
	}

	@Override
	public int compareTo(Attachment attachment) {
		return this.getName().compareTo(attachment.getName());
	}
	
}
